package com.qfedu.openplateform.manager.dao;

import com.qfedu.openplateform.manager.entity.Customer;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: wmh
 * @Date:2021/12/2 19:32
 */
@Repository
public interface CustomerMapper {
    List<Customer> getAllCustomer();

    void addCustomer(Customer customer);

    void deleteCustomer(Integer id);

    void updateCustomer(Customer customer);

    List<Customer> treeCustomer();
}
